package com.mm.fam.web.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.mm.fam.web.entity.SysDict;

import java.util.List;
import java.util.Map;

public interface SysDictService  extends IService<SysDict> {

//    List<SysDict> queryTypeTree();

    IPage<SysDict> queryAllList(Map<String, Object> map, int pageNo, int pageSize);

    String saveOrUpdateDict(SysDict sysDict);

    String deleteDict(Integer sysDictId);

    List<String> getDictTypes();

    List<SysDict> queryDictByDescribe(Map map);

    List<SysDict> findDictByType(String type);
}
